package com.learn.hibernatevalidator.chapter03.returnvalue;

import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;

import java.util.List;

/**
 * @author: liyf
 * @create: 2024-12-24 22:02
 **/
public class RentalStation {


    @ValidRentalStation
    public RentalStation() {
    }

    @NotNull
    @Size(min = 1, max = 3)
    public List<@NotNull Customer> getCustomers() {

        return null;
    }
}
